import { Blog } from "src/blog/entities/blog.entity";
import { Daily } from "src/daily/entities/daily.entity";
import { Like } from "src/like/entities/like.entity";
import { Star } from "src/star/entities/star.entity";

interface UserInfo {
  id: number;

  username: string;

  nickName: string;

  email: string;

  headPic: string;

  phoneNumber: string;

  isFrozen: 0|1;

  isAdmin: boolean;

  createTime: number;

  roles: string[];

  permissions: string[],

  // blogs: Blog[],

  // dailys: Daily[],

  // stars: Star[],

  // likes: Like[]
}
export class LoginUserVo {

  userInfo: UserInfo;

  accessToken: string;

  refreshToken: string;
}

